<!DOCTYPE html>
<html lang="en">
	<?php $this->load->view('vheader');?>
	<body>
		<?php $this->load->view('vnavbar'); ?>
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<?php $this->load->view('vsidebar'); ?>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">Ganti Password</a>
							</li>
							<!--
							<li class="active">Dashboard</li>
							-->
						</ul><!-- .breadcrumb -->

						<div class="nav-search" id="nav-search">

						</div><!-- #nav-search -->
					</div>

					<div class="page-content">
						
						<div class="space-10"></div>
						
						   <?php
						    $pesan = $this->session->flashdata('message');
						    if (!empty($pesan)) {
						        ?>
						    <div class="alert alert-danger">
						        <button class="close" data-dismiss="alert" type="button">
						            <i class="icon-remove"></i>
						        </button>
						        <center><strong>
						                <?php echo $this->session->flashdata('message'); ?>
						            </strong>
						            <br></center>
						    </div>
						    <?php
						    }
						?>
						 <?php
						    $pesan = $this->session->flashdata('messages');
						    if (!empty($pesan)) {
						        ?>
						    <div class="alert alert-success">
						        <button class="close" data-dismiss="alert" type="button">
						            <i class="icon-remove"></i>
						        </button>
						        <center><strong>
						                <?php echo $this->session->flashdata('messages'); ?>
						            </strong>
						            <br></center>
						    </div>
						    <?php
						    }
						?>
						<!--<form action="<?= site_url() ?>/Listrik/simpanListrik" method="post" id="form" name="form" enctype="multipart/form-data" onSubmit="return validasi(this)">-->
						<form action="<?= site_url() ?>/importexcel/importdatakaryawan" method="post" enctype="multipart/form-data" role="form">
						<div class="widget-header"><h5><i class="icon-edit"></i>Import Data Excel Karyawan</h5></div>
						<div class="widget-body">
						
						    <div class="align-right">
						            <a href="<?= base_url() ?>/share/Import-data.xls" id="id-add-attachment" type="file"  class="btn btn-sm btn-danger">
						                    <i class="icon-paper-clip bigger-140"></i>
						                    Download Template
						            </a>
						    </div>
						
							<div class="form-horizontal" role="form">
						                 <div class="form-group" style="height:40px">
									<label class="col-sm-3 control-label no-padding-right" for="form-field-1">Import Data Excel </label>
									<div class="col-sm-3">
						                          <input  type="file" size="50" id="import" name="import"  />
									</div>
								</div>	
						            	<!--div class="form-group no-margin-bottom">
						                    <label class="col-sm-3 control-label no-padding-right">Import Data Excel:</label>
						                    <div class="col-sm-9">
						                            <div id="form-attachments">
						                                    <input type="file" size="20" name="import" />
						                            </div>
						                    </div>
						                </div-->
						
						        <div class="form-group">
									<label class="col-sm-3 control-label no-padding-right" for="submit"></label>
									<div class="col-sm-9">
										<button class="btn btn-sm btn-success" id="submit" name="submit" value="Import">Submit <i class="icon-arrow-right icon-on-right bigger-110"></i></button>
									</div>
								</div>
							</div>
						</div>


					</div><!-- /.page-content -->
				</div><!-- /.main-content -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='<?= base_url() ?>assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='<?= base_url() ?>assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<!-- inline scripts related to this page -->
		<script type="text/javascript">
			$('#id-input-file-1 , #import').ace_file_input({
                                no_file:'No File ...',
                                btn_choose:'Choose',
                                btn_change:'Change',
                                droppable:true,
                                onchange:null,
                                thumbnail:false //| true | large
                                //whitelist:'gif|png|jpg|jpeg'
                                //blacklist:'exe|php'
                                //onchange:''
                                //
                        });
		</script>

	</body>
</html>
